package logic;

import java.io.Serializable;


public class Pipe  implements Serializable, Block{
	//Son la version logica de las tuberias
	/**
     * ATTRIBUTES
     */
	// Id del serialize
	private static final long serialVersionUID = -2516293850083422585L;
	/* Identificador
	 *  ID_WE = 0;
	 *  ID_NS = 1;
	 *  ID_NW = 2;
	 *  ID_NE = 3;
	 *  ID_SE = 4;
	 *  ID_SW = 5; */
	private int _Id;

	/**
	 * Cosntructor
	 */
	public Pipe(int pId) {
		_Id = pId;
	}

	/**
	 * (non-Javadoc)
	 * @see logic.Block#getType()
	 */
	@Override
	public int getType() {
		// TODO Auto-generated method stub
		return Constantes.TYPE_PIPE;
	}

	/**
	 * Gets
	 */
	public int get_Id() {
		return _Id;
	}

	/**
	 * Sets
	 */
	public void set_Id(int _Id) {
		this._Id = _Id;
	}

	@Override
	public String toString() {
		return "Pipe [_Id=" + _Id + "]";
	}
	
	
}
